package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Author: renpu
 * @Date: 2019/2/27 17:48
 * @Description:
 */
public class CmfzGuru implements Serializable {
    @Excel(name="编号")
    private int guruId;
    @Excel(name="法名")
    private String guruName;
    @Excel(name="图片路径")
    private String guruImage;
    @Excel(name="真实姓名")
    private String guruNickName;
    @Excel(name="状态",replace = {"已冻结_1","正常_0"})
    private int guruState;

    private CmfzUser user;

    public CmfzGuru(int guruId, String guruName, String guruImage, String guruNickName, int guruState, CmfzUser user) {
        this.guruId = guruId;
        this.guruName = guruName;
        this.guruImage = guruImage;
        this.guruNickName = guruNickName;
        this.guruState = guruState;
        this.user = user;
    }

    public CmfzGuru(int guruId, int guruState) {
        this.guruId = guruId;
        this.guruState = guruState;
    }

    public CmfzGuru() {
    }

    public int getGuruId() {
        return guruId;
    }

    public void setGuruId(int guruId) {
        this.guruId = guruId;
    }

    public String getGuruName() {
        return guruName;
    }

    public void setGuruName(String guruName) {
        this.guruName = guruName;
    }

    public String getGuruImage() {
        return guruImage;
    }

    public void setGuruImage(String guruImage) {
        this.guruImage = guruImage;
    }

    public String getGuruNickName() {
        return guruNickName;
    }

    public void setGuruNickName(String guruNickName) {
        this.guruNickName = guruNickName;
    }

    public int getGuruState() {
        return guruState;
    }

    public void setGuruState(int guruState) {
        this.guruState = guruState;
    }

    public CmfzUser getUser() {
        return user;
    }

    public void setUser(CmfzUser user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Guru{" +
                "guruId=" + guruId +
                ", guruName='" + guruName + '\'' +
                ", guruImage='" + guruImage + '\'' +
                ", guruNickName='" + guruNickName + '\'' +
                ", guruState=" + guruState +
                ", user=" + user +
                '}';
    }
}
